/**
 * Copyright &copy; 2012-2013 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 */
package com.zhongke.cotrun.model.pojo;

import javax.validation.constraints.NotNull;

import com.zhongke.cotrun.model.validator.UserValidator;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

@ApiModel(value = "字典信息")
@Data
public class WxSysDict implements Serializable {
	
	@ApiModelProperty(value = "id主键", example = "123")
	@NotNull(message = "id不能为空", groups = {UserValidator.UpDate.class})
	private Long id;		// 编号
	@ApiModelProperty(value = "标签名", example = "123")
	@NotNull(message = "标签名不能为空", groups = {UserValidator.UpDate.class})
	private String label;	// 标签名
	@ApiModelProperty(value = "数据值", example = "123")
	@NotNull(message = "数据值不能为空", groups = {UserValidator.UpDate.class})
	private String value;	// 数据值
	@ApiModelProperty(value = "类型", example = "123")
	@NotNull(message = "类型不能为空", groups = {UserValidator.UpDate.class})
	private String type;	// 类型
	@ApiModelProperty(value = "描述", example = "123")
	@NotNull(message = "描述不能为空", groups = {UserValidator.UpDate.class})
	private String description;// 描述
	@ApiModelProperty(value = "排序", example = "123")
	@NotNull(message = "排序不能为空", groups = {UserValidator.UpDate.class})
	private Integer sort;	// 排序
	
}